package com.example.demo.service;


import com.example.demo.entity.Goods;
import com.example.demo.entity.MyArray;
import com.example.demo.entity.OrganizerGoods;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

public interface GoodsService {
     int addCommodity(Goods good);
     int delCommodity(MyArray goodId);
     List<Goods> getCommodity(int businessId);
     int editCommodity(Goods good);
     List<OrganizerGoods> getCommodities();
     Map getCommodities(String name,int size,int current,int businessId);
     Goods getGoodById(Integer goodId);
     List<OrganizerGoods> getCommoditiesUnChoose(Integer activityId);
}
